<ul class="nav">
    {# current 变量定义在 config.context_processors.current_menu_select #}
    {% if request.session.city_en %}
        <li><a href="/{{ request.session.city_en }}/" {% ifequal current 'home' %}class="current"{% endifequal %}>首 页</a></li>
    {% else %}
        <li><a href="/" {% ifequal current 'home' %}class="current"{% endifequal %}>首 页</a></li>
    {% endif %}
    <li><a href="/job/" {% ifequal current 'job' %}class="current"{% endifequal %}>工 作</a></li>
    <li><a href="/busi/" {% ifequal current 'busi' %}class="current"{% endifequal %}>商 户</a></li>
    <li><a href="/tg/" {% ifequal current 'tg' %}class="current"{% endifequal %}>团 购</a></li>
    <li><a href="/xx/" {% ifequal current 'xx' %}class="current"{% endifequal %}>线 下</a></li>
    <li><a href="/office/" {% ifequal current 'office' %}class="current"{% endifequal %}>写字楼</a></li>
    <div class="clear"></div>
</ul>